public class InvestmentBank extends Bank {
    public InvestmentAccount openAccount() {
	return new InvestmentAccount();
    }
    
    public static void main(String[] args) {
	Bank bank1 = new Bank();
	Bank bank2 = new InvestmentBank();
	InvestmentBank bank3 = new InvestmentBank();
	Account account1 = bank1.openAccount();
	Account account2 = bank2.openAccount();
	InvestmentAccount account3 = bank3.openAccount();
	System.out.println("investment bank test");
    }
}